<?php include("class/define.php"); ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php echo $title; ?></title>
    <meta content="<?php echo $short_content ?>;" name="description">
	<meta content="php, lap trinh php, php tutorials, php programming, php framework, js plugin" name="keywords">
	<link href="http://kungfuphp.com" rel="canonical">
	<meta content="<?php echo $short_content;?>" property="og:description">
	<meta property="og:image" content="http://kungfuphp.com/bootstrap/img/logo-kungfu-php.png"/>
	<meta content="<?php echo $og_url; ?>" property="og:url">
	<meta content="https://www.facebook.com/laptrinhkungfu" property="article:publisher">
	<meta http-equiv="content-language" content="vi" />
    <link href="http://<?php echo ROOT; ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="http://<?php echo ROOT; ?>/bootstrap/magic/magic.min.css">
    <!--<script src="http://<?php echo ROOT; ?>/editor/src/prettify.js"></script>
	<script src="http://<?php echo ROOT; ?>/editor/src/lang-css.js"></script>-->
	<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=css&skin=sunburst"></script>
       
<?php
//    if(basename($_SERVER['PHP_SELF'])=="contact.php"):
?>
         <!-- Google Analytics Content Experiment code -->
<!--        <script>function utmx_section(){}function utmx(){}(function(){var
        k='94241524-1',d=document,l=d.location,c=d.cookie;
        if(l.search.indexOf('utm_expid='+k)>0)return;
        function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.
        indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c.
        length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write(
        '<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl':
        '://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+
        '&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date().
        valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
        '" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})();
        </script><script>utmx('url','A/B');</script>-->
        <!-- End of Google Analytics Content Experiment code -->
<?php
//    endif;
?>

  </head>
  <body>	
  <div id="fb-root"></div>
	<script>(function(d, s, id) {
	  var js, fjs = d.getElementsByTagName(s)[0];
	  if (d.getElementById(id)) return;
	  js = d.createElement(s); js.id = id;
	  js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&appId=242779775879708&version=v2.0";
	  fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));</script>
  	<!-- Nav Bar -->
  <div class="container">	
      <nav role="navigation" class="navbar navbar-inverse" style="margin-bottom:0px;bg-color">
	      <div class="container-fluid">
	        <!-- Brand and toggle get grouped for better mobile display -->
	        <div class="navbar-header">
	          <button data-target="#bs-example-navbar-collapse-9" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </button>
	          <!-- <a href="index.php" title="kungfuphp blog" class="navbar-brand">Kungfu PHP</a> -->
	          <a class="navbar-brand" href="index.php">
		        <img width="30" height="30" src="http://<?php echo ROOT; ?>/bootstrap/img/php.png" alt="Brand">
		      </a>
	        </div>

	        <!-- Collect the nav links, forms, and other content for toggling -->
	        <div id="bs-example-navbar-collapse-9" class="collapse navbar-collapse">
	          <ul class="nav navbar-nav">
	            <li class="active"><a href="index.php" title="kungfuphp home page">Home</a></li>
	            <li><a href="php-co-ban.php" title="kungfuphp php-co-ban">PHP cơ bản</a></li>
	            <li><a href="php-nang-cao.php" title="kungfuphp php-nang-cao">PHP nâng cao</a></li>
	            <li><a href="nodejs.php" title="kungfuphp nodejs">Node js</a></li>
	            <li><a href="blogs-lap-trinh.php" title="kungfuphp blogs">Blogs</a></li>
	            <li><a href="seo-a-z.php" title="kungfuphp SEO A-Z">SEO A-Z</a></li>   
	            <li><a href="http://kungfuphp.com/kungfuforum/" target="_blank" title="kungfuphp forum dien dan">Diễn đàn</a></li>
	            <li><a href="contact.php" title="kungfuphp contact">Contact</a></li>
	            <li><a href="sitemap.html" title="kungfuphp sitemap">Site Map</a></li>
	          </ul>
	        </div>
	      </div>
    </nav>
	